package cn.edu.scau.cmi.ema.dao;

import cn.edu.scau.cmi.ema.base.CmiPagination;
import cn.edu.scau.cmi.ema.domain.Crawlerfilecolumn;
import org.springframework.dao.DataAccessException;

import java.util.Set;

public interface CrawlerfilecolumnDAO extends JpaDao<Crawlerfilecolumn> {

	public Crawlerfilecolumn findCrawlerfilecolumnById(Integer id) throws DataAccessException;

	public Crawlerfilecolumn findCrawlerfilecolumnById(Integer id, int startResult, int maxRows)
			throws DataAccessException;

	public Set<Crawlerfilecolumn> findCrawlerfilecolumnByName(String name) throws DataAccessException;

	public Set<Crawlerfilecolumn> findCrawlerfilecolumnByName(String name, int startResult, int maxRows)
			throws DataAccessException;

	public Set<Crawlerfilecolumn> findCrawlerfilecolumnByNameContaining(String name_1) throws DataAccessException;

	public Set<Crawlerfilecolumn> findCrawlerfilecolumnByNameContaining(String name_1, int startResult, int maxRows)
			throws DataAccessException;

	public Set<Crawlerfilecolumn> findCrawlerfilecolumnByDescription(String description) throws DataAccessException;

	public Set<Crawlerfilecolumn> findCrawlerfilecolumnByDescription(String description, int startResult, int maxRows)
			throws DataAccessException;

	public Set<Crawlerfilecolumn> findCrawlerfilecolumnByDescriptionContaining(String description_1)
			throws DataAccessException;

	public Set<Crawlerfilecolumn> findCrawlerfilecolumnByDescriptionContaining(String description_1, int startResult,
			int maxRows) throws DataAccessException;

	public Crawlerfilecolumn findCrawlerfilecolumnByPrimaryKey(Integer id) throws DataAccessException;

	public Crawlerfilecolumn findCrawlerfilecolumnByPrimaryKey(Integer id, int startResult, int maxRows)
			throws DataAccessException;

	public Set<Crawlerfilecolumn> findCrawlerfilecolumnsByIds(Set<Integer> ids) throws DataAccessException;

	public Set<Crawlerfilecolumn> findAllCrawlerfilecolumns() throws DataAccessException;

	public Set<Crawlerfilecolumn> findAllCrawlerfilecolumns(int startResult, int maxRows) throws DataAccessException;

	public Set<Crawlerfilecolumn> findCrawlerfilecolumnByCompositeProperities(String sql, int startResult, int maxRows)
			throws DataAccessException;

	public Set<Crawlerfilecolumn> findCrawlerfilecolumnsByDetachedCriteria(CmiPagination page)
			throws DataAccessException;

	public Crawlerfilecolumn findCrawlerfilecolumnByPhysicalPrimaryKey(String name) throws DataAccessException;

	public Crawlerfilecolumn findCrawlerfilecolumnByPhysicalPrimaryKey(String name, int startResult, int maxRows)
			throws DataAccessException;
}
